//
//  KZBaseLineView.m
//  kangzhipifuyisheng
//
//  Created by 唐开江 on 15/5/28.
//  Copyright (c) 2015年 KangZhi. All rights reserved.
//

#import "KZBaseLineView.h"



@implementation KZBaseLineView


- (void)awakeFromNib
{
    [super awakeFromNib];
    self.height = KZBaseLineViewHeight;
    self.y = KZBaseLineViewY;
    self.backgroundColor = [UIColor hexFloatColor:KZBaseLineViewColor];
//    self.height = 0.7f;
    
}
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, KZBaseLineViewHeight)]) {
//        self.height = KZBaseLineViewHeight;
        self.backgroundColor = [UIColor hexFloatColor:KZBaseLineViewColor];

        self.y = KZBaseLineViewY;
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
//    self.height = 0.7f;
    self.height = KZBaseLineViewHeight;

}

@end
